package dfbz.递归;

public class demo02 {
    public static void main(String[] args) {
        int jc = jc(10);
        System.out.println(jc);
    }

    private static int jc(int i) {
        if(i==1){
            return 1;
        }
        System.out.println(i);
        return i*jc(i-1);
    }
}
